﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Configuration;
using System.Text;
using System.Threading.Tasks;

namespace ZHDJ.WinService.Util
{
   public  class ConfigHelper
   {
       public static string ScoreJobIntervalCronKey = "ScoreJob_Interval_Cron";

       public static string ScoreJobIntervalCron
       {
           get { return ConfigurationManager.AppSettings[ScoreJobIntervalCronKey]; }
       }
   
        public static string InitBranchRelationJobIntervalCronKey = "InitBranchRelationJob_Interval_Cron";
        public static string InitBranchRelationJobIntervalCron
        {
            get { return ConfigurationManager.AppSettings[InitBranchRelationJobIntervalCronKey]; }
        }

        public static string ExamUserSyncJobIntervalCronKey = "ExamUserSyncJob_Interval_Cron";
        public static string ExamUserSyncJobIntervalCron
        {
            get { return ConfigurationManager.AppSettings[ExamUserSyncJobIntervalCronKey]; }
        }
        public static string PartyVisitStatisticJobIntervalCronKey = "PartyVisitStatisticJob_Interval_Cron";
        public static string PartyVisitStatisticJobIntervalCron
        {
            get { return ConfigurationManager.AppSettings[PartyVisitStatisticJobIntervalCronKey]; }
        }

        public static string ScheduledJobIntervalCronKey = "ScheduledJob_Interval_Cron";
        public static string ScheduledJobIntervalCron
        {
            get { return ConfigurationManager.AppSettings[ScheduledJobIntervalCronKey]; }
        }

        public static string SmsSendJobIntervalCronKey = "SmsSendJob_Interval_Cron";
        public static string SmsSendJobIntervalCron
        {
            get { return ConfigurationManager.AppSettings[SmsSendJobIntervalCronKey]; }
        }

        public static string SmsUrl
        {
            get { return ConfigurationManager.AppSettings["SMS_Url"]; }
        }

        public static string UserAccount
        {
            get { return ConfigurationManager.AppSettings["SMS_UserAccount"]; }
        }

        public static string SmsPassword
        {
            get { return ConfigurationManager.AppSettings["SMS_Password"]; }
        }

        public static string SmsECName
        {
            get { return ConfigurationManager.AppSettings["SMS_ECName"]; }
        }

        public static string SmsSign
        {
            get { return ConfigurationManager.AppSettings["SMS_Sign"]; }
        }
    }
}
